<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class TeamFound extends Model
{
    protected $guarded = [];
    protected $dates = ['ended_at'];
    public function order()
    {
        return $this->belongsTo('App\Order');
    }

    public function user()
    {
        return $this->belongsTo('App\User');
    }

    public function follows()
    {
        return $this->hasMany('App\TeamFollow');
    }
}
